import { createApp } from 'vue';
import App from './App.vue';
import router from './router/index';
import pinia from '@/store/store';
import http from './service/http';
import '@/styles/global.scss';
import '@/styles/element.scss';
import elementPlus from '@/common/plugins/element-plus';

const app = createApp(App);
// 绑定axios
app.config.globalProperties.$http = http;

app.use(elementPlus);
app.use(router);
app.use(pinia);
app.mount('#app');
